package com.zcxy.sys.constant;

/**
 * @author zcc
 * @version 1.0.0
 * @ClassName BzyConstant.java
 * @Description TODO
 * @createTime 2020年06月04日 10:41:00
 * 系统通用常量
 */
public interface Constant {

    /**
     * 新增业务
     */
    public static final String ADD = "1";

    /**
     * 更新业务
     */
    public static final String UPDATE = "0";

    /**
     * 可见
     */
    public static final String VISIBLE = "1";

    /**
     * 不可见
     */
    public static final String NO_VISIBLE = "0";


    /**
     * 必填
     */
    public static final String REQUIRED = "1";

    /**
     * 非必填
     */
    public static final String NO_REQUIRED = "0";


    /**
     * 启用状态
     */
    public static final String ENABLE = "1";

    /**
     * 禁用状态
     */
    public static final String DISABLE = "0";
    /**
     * 签出状态
     */
    public static final String CKECKOUT = "1";

    /**
     * 未签出状态
     */
    public static final String DISCKECOUT = "0";

    /**
     * 非全部
     */
    public static final String NOTALL = "1";

    /**
     * 全部
     */
    public static final String ALL = "0";
    /**
     * 禁用
     */
    public static final String AUTHORITY_D = "1";
    /**
     * 只读
     */
    public static final String AUTHORITY_R = "2";
    /**
     * 编辑
     */
    public static final String AUTHORITY_W = "3";


    public static final String RESET_PASS = "重置密码";

    public static final String RESET_MAIL = "重置邮箱";

    /**
     * 用于IP定位转换
     */
    static final String REGION = "内网IP|内网IP";

    /**
     * 常用接口
     */
    public static class Url {
        public static final String SM_MS_URL = "https://sm.ms/api";
    }

    public static final String SYSTEM_DEFULT = "0";

    public static final String NOT_SYSTEM_DEFULT = "1";

}
